import request from '@/utils/request'

// 获取菜单
export const getMenuInfo = () => {
  return request({
    method: 'get',
    url: '/private/v1/menus',
  })
}

// 获取权限列表
export const getRolesList = () => {
  return request({
    method: 'get',
    url: '/private/v1/roles',
  })
}
